package com.hqd.ch03.test.boot.v49;

import com.hqd.ch03.v49.boot.autoconfigure.AutoConfigurationExcludeFilter;
import com.hqd.ch03.v49.boot.autoconfigure.EnableAutoConfiguration;
import com.hqd.ch03.v49.boot.context.TypeExcludeFilter;
import com.hqd.ch03.v49.context.annotation.ComponentScan;
import com.hqd.ch03.v49.context.annotation.Configuration;
import com.hqd.ch03.v49.context.annotation.FilterType;

@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = "com.hqd.ch03.test.boot.v49",
        excludeFilters = {@ComponentScan.Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class),
                @ComponentScan.Filter(type = FilterType.CUSTOM, classes = AutoConfigurationExcludeFilter.class)})

public class MainApplication {
    public static void main(String[] args) {
        System.out.println(8888);
    }
}
